package com.pine.app.module.security.oauth.exception;



import com.pine.app.module.security.core.common.enums.ErrorType;
import com.pine.app.module.security.core.common.enums.ResponseProduceType;
import com.pine.app.module.security.core.exception.BaseException;

/**
 * @author xiaoyuan
 * @create 2019/9/29 10:51
 **/
public class AuthenticationException extends BaseException {


    public AuthenticationException(ErrorType errorType) {
        super(errorType);
    }

    public AuthenticationException(ErrorType errorType, ResponseProduceType responseProduceTypeEnum, String pagePath) {
        super(errorType, responseProduceTypeEnum, pagePath);
    }

    public AuthenticationException(ErrorType errorType, String message) {
        super(errorType, message);
    }

    public AuthenticationException(ErrorType errorType, String message, ResponseProduceType responseProduceTypeEnum, String pagePath) {
        super(errorType, message, responseProduceTypeEnum, pagePath, null);
    }
    public AuthenticationException(ErrorType errorType, String message, ResponseProduceType responseProduceTypeEnum, String pagePath, Object data) {
        super(errorType, message, responseProduceTypeEnum, pagePath, data);
    }
}
